
<DIV id="LoginPanel" style="position:absolute; right: 10px; top: 0em; background-color:#EFEDD9; padding:10px 10px 10px 10px;border: outset 1px;z-index:3">
    <div align="left"><small><SPAN class="login_b"><?=$row->username?></span></small></div>
    <br><small><SPAN class="logout"><a href="/registration/logout">Выход</a></span></small>
</DIV>



<table width="100%" border="0" cellspacing="0" cellpadding="0" class="">
       <tr>
         <td width="16%"></td>
         <td width="80%"><h1>Профиль пользователя</h1></td>
      </tr>
</table>

<table width="100%" border="0" cellspacing="0" cellpadding="0" class="" style="margin-top:1.2em">
  <tr>
    <td width="16%"></td>
    <td valign="top" width="48%">
    
    <form action="/registration/save" method="post" onsubmit="return validate_form(this)">

              <table width="100%" border="0" cellspacing="0" cellpadding="0">
                <tr>
                  <td width="32%"><font color="red">Имя <nobr>и фамилия</nobr></font></td>
                  <td><input type="text" name="name" style="position: relative; width: 100%;" value="<?=$row->name?>"></td>
                </tr>
                
                <tr>
                  <td valign="top"><div class="form_title"><font color="red">Электронная почта</font></div></td>
                  <td ><input type="text" name="login" class="form_title" style="position: relative; width: 100%;" value="<?=$row->username?>">
                  </td>
                </tr>
                
                <tr>
                  <td><div class="form_title">Телефон</div></td>
                  <td><input type="text" name="phone" class="form_title" style="position: relative; width: 100%;" value="<?=$row->phone?>">
                  </td>
                </tr>
                
                <tr>
                  <td><div class="form_title">Город</div></td>
                  <td><input type="text" name="city" class="form_title" style="position: relative; width: 100%;" value="<?=$row->city?>">
                  </td>
                </tr>
                
                <tr>
                  <td><div class="form_title">Почтовый индекс</div></td>
                  <td><input type="text" name="index" class="form_title" style="position: relative; width: 100%;" value="<?=$row->index?>">
                  </td>
                </tr>
                
                <tr>
                  <td><div class="form_title">Адрес</div></td>
                  <td><input type="text" name="adres" class="form_title" style="position: relative; width: 100%;"  value="<?=$row->adres?>">
                  </td>
                </tr>
                
               <tr>
                  <td class="form_title"></td>
                  <td><input type="submit" value="Сохранить" class="form_title">
                  </td>
                </tr>
                
              </table>
        <input name="id" type="hidden" value="<?=$row->id?>">
        </form>
    
    </td>
    <td width="32%"></td>
  </tr>
</table>
